package com.woniuxy.service.impl;

import com.woniuxy.dao.PersonDao;
import com.woniuxy.entity.Person;
import com.woniuxy.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Author 罗蔚
 * @Date 2022/3/25 16:13
 * @Description TODO
 */
public class PersonServiceImpl implements PersonService {
    @Autowired
    private PersonDao personDao;

    public List<Person> findAll() {
        return personDao.findAll();
    }
}
